<template>
  <el-row>
    <el-button type="info" plain @click="logout">退出</el-button>
  </el-row>
</template>

<script>
export default {
  name: "LogoutVue",
  methods: {
    logout() {
      
      window.sessionStorage.clear();
      this.$router.push("/login");
    },
  },
};
</script>
<style lang="less" scoped>
</style>